import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import { createRouter, createWebHistory } from 'vue-router';
import BlogList from "@/components/BlogList.vue";
const routes = [
    {
        path: '/',
        redirect: '/blogs'
    },
    {
        path: '/blogs',
        name: 'Blogs',
        component: BlogList,
    }
];
const router = createRouter({
    history: createWebHistory(),
    routes,
});
const app = createApp(App);
app.use(router);
app.mount('#app');

